package org.van.blog.service.comment;

import java.util.List;

import com.github.pagehelper.PageInfo;

import org.van.blog.dto.cond.CommentCond;
import org.van.blog.model.CommentDomain;

public interface CommentService {
    void addComment(CommentDomain comments);

    List<CommentDomain> getCommentsByCId(Integer cid);

    PageInfo<CommentDomain> getCommentsByCond(CommentCond commentCond, int pageNum, int pageSize);

    CommentDomain getCommentById(Integer coid);

    void updateCommentStatus(Integer coid, String status);

    void deleteComment(Integer id);
}
